﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="SearchWorkHeader.ascx.vb"
    Inherits="Public_WorkHeader_SearchWorkHeader" %>
<%@ Register Namespace="My" TagPrefix="cc1" %>
<table>
    <tr>
        <td align="right">
            <asp:Label ID="lblCasePassword" runat="server" meta:resourcekey="lblCasePassword"></asp:Label>
        </td>
        <td align="left">
            <asp:TextBox ID="txtCasePassword" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Display="None"
                ErrorMessage="請輸入案件代碼!!" ControlToValidate="txtCasePassword" SetFocusOnError="True" ValidationGroup="vQuery">*</asp:RequiredFieldValidator></td>
        <td align="left">
            <asp:ImageButton  ID="btnQuery" ImageUrl="~/images/image/but_10.jpg" ValidationGroup="vQuery" runat="server" />
        </td>
    </tr>
</table>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
    ShowSummary="False" ValidationGroup="vQuery" />
<br />
<My:MyGridView ID="gv" HeaderStyle-HorizontalAlign="Center" runat="server" SkinID="pager" AllowHoverSelect="false" DataKeyNames="FindDirtyHeaderID"
    AllowHoverEffect="false" MySortDirection="Ascending" meta:resourcekey="gv">
    <Columns>
        <asp:BoundField DataField="RegionType" meta:resourcekey="bfRegionType">
            <itemstyle horizontalalign="Center" />
            <headerstyle horizontalalign="Center" width="100px" />
        </asp:BoundField>
        <asp:BoundField DataField="Address" meta:resourcekey="bfAddress" />
        <asp:BoundField DataField="ReportDate" dataformatstring="{0:yyyy.MM.dd}" meta:resourcekey="bfReportDate" >
            <itemstyle horizontalalign="Center" />
            <headerstyle horizontalalign="Center" width="80px" />
        </asp:BoundField>
        <asp:BoundField DataField="StatusText" meta:resourcekey="bfStatusText" >
            <itemstyle horizontalalign="Center" />
        </asp:BoundField>
        <asp:TemplateField>        
            <ItemTemplate>
                <asp:LinkButton ID="lknEdit" CommandName="Update" runat="server" meta:resourcekey="lknEdit"></asp:LinkButton>
            
</ItemTemplate>
            <itemstyle horizontalalign="Center" />
        </asp:TemplateField>        
<%--        <asp:TemplateField>        
            <ItemTemplate>
                <asp:LinkButton ID="lknDelete" CommandName="Delete" Visible="false" runat="server" meta:resourcekey="lknDelete"></asp:LinkButton>
                <ajaxToolkit:ConfirmButtonExtender ID="cbDelete" runat="server" TargetControlID="lknDelete" meta:resourcekey="cbDelete"></ajaxToolkit:ConfirmButtonExtender>
            
</ItemTemplate>
            <itemstyle horizontalalign="Center" />
        </asp:TemplateField>--%>
    </Columns>
</My:MyGridView>
